let http = require("http");

http.createServer(function(request,response){
    response.writeHead(200,{
        "Content-type":"text/plain"
    })
    response.end("hello world")
}).listen(3000)
console.log("app is listening at http://127.0.0.1:3000/")